﻿@model ProductViewModel
@{
    ViewBag.Title = "Index";
    bool isImage = (string)ViewData["type"] == "image";
    
}
<div class="container" style="margin: 0 auto; width: 1150px;">
    <div class="row-fluid">
        <div class="span12" style="padding-top: 10px;">
            <ul class="breadcrumb">
                <li><a href="@Url.Action("Index", "Home")">Trang chủ</a> <span class="divider">/</span></li>
                <li>Laptop chính hãng</li>
            </ul>
        </div>
    </div>
    <div class="row-fluid" style="margin-bottom: 10px;">
        <div class="container-fluid" style="background-color: White; padding: 5px; margin-left: 0px;
            margin-right: 0px;">
            <div class="row-fluid">
                <div class="span2" style="border-right: 1px dotted #CCC;">
                    <div class="container-fluid" style="padding: 0px;">
                        <div class="row-fluid">
                            <div class="span12">
                            </div>
                        </div>
                        <div class="row-fluid">
                            <hr />
                        </div>
                        <div class="row-fluid">
                            <div class="span12">
                                <div class="fb-like" data-href="@Request.Url.AbsoluteUri" data-layout="standard" data-action="like" data-show-faces="true" data-share="true">
                                </div>
                            </div>
                        </div>
                        <div class="row-fluid">
                            <div class="span12">
                                <!-- Place this tag where you want the +1 button to render. -->
                                <div class="g-plusone" data-annotation="inline" data-width="300">
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="span10">
                    <div class="container-fluid" style="padding: 0px; margin: 0px;">
                        <div class="row-fluid">
                            <div class="span6">
                                <a href="@Url.Action("View", new { type = "detail" })">Chi tiết</a> | <a href="@Url.Action("View", new { type = "image" })">
                                    Hình ảnh</a>
                            </div>
                            <div class="span6">
                                <div class="pull-right">
                                    Sắp xếp theo:
                                    <select>
                                        <option>Xem nhiều nhất</option>
                                        <option>Giá tiền thấp đến cao</option>
                                        <option>Giá tiền cao đến thấp</option>
                                    </select>
                                </div>
                            </div>
                        </div>
                        <div class="row-fluid">
                            <div class="span12">
                                <hr />
                            </div>
                        </div>
                        <div class="row-fluid">
                            <div class="span4">
                                @if (isImage)
                                {
                                    
                                }
                                else
                                {
                                    <table>
                                        <tr>
                                            <td>
                                                <img src="../../Images/Product/gallery3_2256.jpg" style="width: 250px;" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <a class="title" href="@Url.Action("Details", "Products", new { name = "MacBook Pro with Retina display".ToSeoUrl(), id = 2 })">
                                                    MacBook Pro with Retina display</a>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <p style="font-size: 11px;">
                                                    2.4GHz dual-core Intel Core i5 Turbo Boost up to 2.9GHz 4GB 1600MHz memory 128GB
                                                    PCIe-based flash storage1 Intel Iris Graphics Built-in battery (9 hours)2</p>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                Lượt xem: 193
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <b style="color: #900;">35,000,000 VND</b>
                                            </td>
                                        </tr>
                                    </table>
                                }
                            </div>
                            <div class="span4">
                                <table>
                                    <tr>
                                        <td>
                                            <img src="../../Images/Product/software_img_482.jpg" style="width: 250px;" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <a class="title" href="@Url.Action("Details", "Products", new { name = "MacBook Pro with Retina display".ToSeoUrl(), id = 2 })">
                                                MacBook Pro with Retina display</a>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <p style="font-size: 11px;">
                                                2.4GHz dual-core Intel Core i5 Turbo Boost up to 2.9GHz 4GB 1600MHz memory 128GB
                                                PCIe-based flash storage1 Intel Iris Graphics Built-in battery (9 hours)2</p>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            Lượt xem: 193
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <b style="color: #900;">35,000,000 VND</b>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                            <div class="span4">
                                <table>
                                    <tr>
                                        <td>
                                            <img src="../../Images/Product/software_img_468.jpg" style="width: 250px;" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <a class="title" href="@Url.Action("Details", "Products", new { name = "MacBook Pro with Retina display".ToSeoUrl(), id = 2 })">
                                                MacBook Pro with Retina display</a>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <p style="font-size: 11px;">
                                                2.4GHz dual-core Intel Core i5 Turbo Boost up to 2.9GHz 4GB 1600MHz memory 128GB
                                                PCIe-based flash storage1 Intel Iris Graphics Built-in battery (9 hours)2</p>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            Lượt xem: 193
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <b style="color: #900;">35,000,000 VND</b>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </div>
                        <div class="row-fluid">
                            <div class="span12">
                                <hr />
                            </div>
                        </div>
                        <div class="row-fluid">
                            <div class="span4">
                                <table>
                                    <tr>
                                        <td>
                                            <img src="../../Images/Product/gallery3_2256.jpg" style="width: 250px;" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <a class="title" href="@Url.Action("Details", "Products", new { name = "MacBook Pro with Retina display".ToSeoUrl(), id = 2 })">
                                                MacBook Pro with Retina display</a>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <p style="font-size: 11px;">
                                                2.4GHz dual-core Intel Core i5 Turbo Boost up to 2.9GHz 4GB 1600MHz memory 128GB
                                                PCIe-based flash storage1 Intel Iris Graphics Built-in battery (9 hours)2</p>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            Lượt xem: 193
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <b style="color: #900;">35,000,000 VND</b>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                            <div class="span4">
                                <table>
                                    <tr>
                                        <td>
                                            <img src="../../Images/Product/software_img_482.jpg" style="width: 250px;" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <a class="title" href="@Url.Action("Details", "Products", new { name = "MacBook Pro with Retina display".ToSeoUrl(), id = 2 })">
                                                MacBook Pro with Retina display</a>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <p style="font-size: 11px;">
                                                2.4GHz dual-core Intel Core i5 Turbo Boost up to 2.9GHz 4GB 1600MHz memory 128GB
                                                PCIe-based flash storage1 Intel Iris Graphics Built-in battery (9 hours)2</p>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            Lượt xem: 193
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <b style="color: #900;">35,000,000 VND</b>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                            <div class="span4">
                                <table>
                                    <tr>
                                        <td>
                                            <img src="../../Images/Product/software_img_468.jpg" style="width: 250px;" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <a class="title" href="@Url.Action("Details", "Products", new { name = "MacBook Pro with Retina display".ToSeoUrl(), id = 2 })">
                                                MacBook Pro with Retina display</a>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <p style="font-size: 11px;">
                                                2.4GHz dual-core Intel Core i5 Turbo Boost up to 2.9GHz 4GB 1600MHz memory 128GB
                                                PCIe-based flash storage1 Intel Iris Graphics Built-in battery (9 hours)2</p>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            Lượt xem: 193
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <b style="color: #900;">35,000,000 VND</b>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </div>
                        <div class="row-fluid">
                            <div class="span4">
                                <table>
                                    <tr>
                                        <td>
                                            <img src="../../Images/Product/gallery3_2256.jpg" style="width: 250px;" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <a class="title" href="@Url.Action("Details", "Products", new { name = "MacBook Pro with Retina display".ToSeoUrl(), id = 2 })">
                                                MacBook Pro with Retina display</a>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <p style="font-size: 11px;">
                                                2.4GHz dual-core Intel Core i5 Turbo Boost up to 2.9GHz 4GB 1600MHz memory 128GB
                                                PCIe-based flash storage1 Intel Iris Graphics Built-in battery (9 hours)2</p>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            Lượt xem: 193
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <b style="color: #900;">35,000,000 VND</b>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                            <div class="span4">
                                <table>
                                    <tr>
                                        <td>
                                            <img src="../../Images/Product/software_img_482.jpg" style="width: 250px;" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <a class="title" href="@Url.Action("Details", "Products", new { name = "MacBook Pro with Retina display".ToSeoUrl(), id = 2 })">
                                                MacBook Pro with Retina display</a>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <p style="font-size: 11px;">
                                                2.4GHz dual-core Intel Core i5 Turbo Boost up to 2.9GHz 4GB 1600MHz memory 128GB
                                                PCIe-based flash storage1 Intel Iris Graphics Built-in battery (9 hours)2</p>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            Lượt xem: 193
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <b style="color: #900;">35,000,000 VND</b>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                            <div class="span4">
                                <table>
                                    <tr>
                                        <td>
                                            <img src="../../Images/Product/software_img_468.jpg" style="width: 250px;" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <a class="title" href="@Url.Action("Details", "Products", new { name = "MacBook Pro with Retina display".ToSeoUrl(), id = 2 })">
                                                MacBook Pro with Retina display</a>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <p style="font-size: 11px;">
                                                2.4GHz dual-core Intel Core i5 Turbo Boost up to 2.9GHz 4GB 1600MHz memory 128GB
                                                PCIe-based flash storage1 Intel Iris Graphics Built-in battery (9 hours)2</p>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            Lượt xem: 193
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <b style="color: #900;">35,000,000 VND</b>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </div>
                        <div class="row-fluid">
                            <div class="span12">
                                <hr />
                            </div>
                        </div>
                        <div class="row-fluid">
                            <div class="span4">
                                <table>
                                    <tr>
                                        <td>
                                            <img src="../../Images/Product/gallery3_2256.jpg" style="width: 250px;" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <a class="title" href="@Url.Action("Details", "Products", new { name = "MacBook Pro with Retina display".ToSeoUrl(), id = 2 })">
                                                MacBook Pro with Retina display</a>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <p style="font-size: 11px;">
                                                2.4GHz dual-core Intel Core i5 Turbo Boost up to 2.9GHz 4GB 1600MHz memory 128GB
                                                PCIe-based flash storage1 Intel Iris Graphics Built-in battery (9 hours)2</p>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            Lượt xem: 193
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <b style="color: #900;">35,000,000 VND</b>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                            <div class="span4">
                                <table>
                                    <tr>
                                        <td>
                                            <img src="../../Images/Product/software_img_482.jpg" style="width: 250px;" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <a class="title" href="@Url.Action("Details", "Products", new { name = "MacBook Pro with Retina display".ToSeoUrl(), id = 2 })">
                                                MacBook Pro with Retina display</a>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <p style="font-size: 11px;">
                                                2.4GHz dual-core Intel Core i5 Turbo Boost up to 2.9GHz 4GB 1600MHz memory 128GB
                                                PCIe-based flash storage1 Intel Iris Graphics Built-in battery (9 hours)2</p>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            Lượt xem: 193
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <b style="color: #900;">35,000,000 VND</b>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                            <div class="span4">
                                <table>
                                    <tr>
                                        <td>
                                            <img src="../../Images/Product/software_img_468.jpg" style="width: 250px;" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <a class="title" href="@Url.Action("Details", "Products", new { name = "MacBook Pro with Retina display".ToSeoUrl(), id = 2 })">
                                                MacBook Pro with Retina display</a>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <p style="font-size: 11px;">
                                                2.4GHz dual-core Intel Core i5 Turbo Boost up to 2.9GHz 4GB 1600MHz memory 128GB
                                                PCIe-based flash storage1 Intel Iris Graphics Built-in battery (9 hours)2</p>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            Lượt xem: 193
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <b style="color: #900;">35,000,000 VND</b>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </div>
                        <div class="row-fluid">
                            <div class="span12">
                                <hr />
                            </div>
                        </div>
                        <div class="row-fluid">
                            <div class="span4">
                                <table>
                                    <tr>
                                        <td>
                                            <img src="../../Images/Product/gallery3_2256.jpg" style="width: 250px;" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <a class="title" href="@Url.Action("Details", "Products", new { name = "MacBook Pro with Retina display".ToSeoUrl(), id = 2 })">
                                                MacBook Pro with Retina display</a>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <p style="font-size: 11px;">
                                                2.4GHz dual-core Intel Core i5 Turbo Boost up to 2.9GHz 4GB 1600MHz memory 128GB
                                                PCIe-based flash storage1 Intel Iris Graphics Built-in battery (9 hours)2</p>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            Lượt xem: 193
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <b style="color: #900;">35,000,000 VND</b>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                            <div class="span4">
                                <table>
                                    <tr>
                                        <td>
                                            <img src="../../Images/Product/software_img_482.jpg" style="width: 250px;" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <a class="title" href="@Url.Action("Details", "Products", new { name = "MacBook Pro with Retina display".ToSeoUrl(), id = 2 })">
                                                MacBook Pro with Retina display</a>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <p style="font-size: 11px;">
                                                2.4GHz dual-core Intel Core i5 Turbo Boost up to 2.9GHz 4GB 1600MHz memory 128GB
                                                PCIe-based flash storage1 Intel Iris Graphics Built-in battery (9 hours)2</p>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            Lượt xem: 193
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <b style="color: #900;">35,000,000 VND</b>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                            <div class="span4">
                                <table>
                                    <tr>
                                        <td>
                                            <img src="../../Images/Product/software_img_468.jpg" style="width: 250px;" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <a class="title" href="@Url.Action("Details", "Products", new { name = "MacBook Pro with Retina display".ToSeoUrl(), id = 2 })">
                                                MacBook Pro with Retina display</a>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <p style="font-size: 11px;">
                                                2.4GHz dual-core Intel Core i5 Turbo Boost up to 2.9GHz 4GB 1600MHz memory 128GB
                                                PCIe-based flash storage1 Intel Iris Graphics Built-in battery (9 hours)2</p>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            Lượt xem: 193
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <b style="color: #900;">35,000,000 VND</b>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </div>
                        <div class="row-fluid">
                            <div class="span12">
                                <hr />
                            </div>
                        </div>
                        <div class="row-fluid">
                            <div class="span4">
                                <table>
                                    <tr>
                                        <td>
                                            <img src="../../Images/Product/gallery3_2256.jpg" style="width: 250px;" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <a class="title" href="@Url.Action("Details", "Products", new { name = "MacBook Pro with Retina display".ToSeoUrl(), id = 2 })">
                                                MacBook Pro with Retina display</a>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <p style="font-size: 11px;">
                                                2.4GHz dual-core Intel Core i5 Turbo Boost up to 2.9GHz 4GB 1600MHz memory 128GB
                                                PCIe-based flash storage1 Intel Iris Graphics Built-in battery (9 hours)2</p>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            Lượt xem: 193
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <b style="color: #900;">35,000,000 VND</b>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                            <div class="span4">
                                <table>
                                    <tr>
                                        <td>
                                            <img src="../../Images/Product/software_img_482.jpg" style="width: 250px;" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <a class="title" href="@Url.Action("Details", "Products", new { name = "MacBook Pro with Retina display".ToSeoUrl(), id = 2 })">
                                                MacBook Pro with Retina display</a>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <p style="font-size: 11px;">
                                                2.4GHz dual-core Intel Core i5 Turbo Boost up to 2.9GHz 4GB 1600MHz memory 128GB
                                                PCIe-based flash storage1 Intel Iris Graphics Built-in battery (9 hours)2</p>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            Lượt xem: 193
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <b style="color: #900;">35,000,000 VND</b>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                            <div class="span4">
                                <table>
                                    <tr>
                                        <td>
                                            <img src="../../Images/Product/software_img_468.jpg" style="width: 250px;" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <a class="title" href="@Url.Action("Details", "Products", new { name = "MacBook Pro with Retina display".ToSeoUrl(), id = 2 })">
                                                MacBook Pro with Retina display</a>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <p style="font-size: 11px;">
                                                2.4GHz dual-core Intel Core i5 Turbo Boost up to 2.9GHz 4GB 1600MHz memory 128GB
                                                PCIe-based flash storage1 Intel Iris Graphics Built-in battery (9 hours)2</p>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            Lượt xem: 193
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <b style="color: #900;">35,000,000 VND</b>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </div>
                        <div class="row-fluid">
                            <div class="span12">
                                <hr />
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
